const auditRoute = {
  path: '/bbs',
  name: 'bbs',
  meta: { title: '论坛' },
  redirect: '/bbs/index',
  component: () => import('@/views/BBS/layout.vue'),
  children: [
    {
      path: 'index',
      name: 'bbs-index',
      meta: { title: '论坛首页' },
      component: () => import('@/views/BBS/main'),
    },
    {
      path: 'detail',
      name: 'bbs-detail',
      meta: { title: '论坛详情' },
      component: () => import('@/views/BBS/detail'),
    },
    {
      path: 'home',
      name: 'bbs-home',
      meta: { title: '用户中心' },
      component: () => import('@/views/BBS/home'),
    },
    {
      path: 'homepage',
      name: 'bbs-homepage',
      meta: { title: '个人主页' },
      component: () => import('@/views/BBS/homepage'),
    },
  ],
}

export default auditRoute
